#include <vector>
#include <complex>

class Utils {
    public:
        Utils();

        static std::vector<double> linspace(double from, double to, int n = 500);

        static const int LIGHT_SPEED = 299792458;

        static std::complex<double> getWGN();

        static const int CARRIER_FREQUENCY = 1e6;  // czestotliwosc nosnej

        static int RANGE_BINS_COUNT;

        static int RANGE_BIN_LENGTH;

    private:
        static unsigned long rdtsc();
        static int calculateRangeBinsCount();
        static int calculateRangeBinLength();
};
